//所有的store接口
import type { cate } from "@/api/header/interface/index";
import type { GoodDetailInfo, ItemDetail, CategoryItem,Livelys } from '@/api/detail/interface'
import type {
  saleRankList,
  Banners,
  recommendListResponse,
  Floors,
} from "@/api/home/interface/index";
import { SearchParams, SearcherCategoryHitCount, SearcherResult } from '@/api/search/interface'
export interface useHomeState {
  saleRankList: saleRankList;
  banners: Banners[];
  recommendList: recommendListResponse;
  floors: Floors[];
}
export interface useHeaderState {
  cateList: cate[];
}
export interface useDetailState {
  goodDetailInfo: GoodDetailInfo | null,
  defaultPicUrl: string,
  likes:GoodDetailInfo[],
  hotGoodList:GoodDetailInfo[],
  livelys:Livelys[]
}

export interface useSearchState {
  isLoading:boolean,
  searchParams: SearchParams,
  searcherCategoryHitCountList: SearcherCategoryHitCount[],
  searcherResult: SearcherResult
}
